import request from "@/utils/request";

export function getNotice() {
    return request({
        url:'/admin/notice',
        method:'get'
    })
}


export function updateInfo(data) {
    return request({
        url: '/users/info',
        method: 'put',
        data: data
    })
}
export function updatePassword(data){
    return request({
        url:'/admin/users/password',
        method:'put',
        data:data
    })
}


export function updateNotice(param) {
    return request({
        url:'/admin/notice',
        method:'put',
        data:param
    })
}
